luci-mod-network: update odhcpd configuration
authorDavid Härdeman <[email protected]>
Sat, 13 Dec 2025 08:39:54 +0000 (09:39 +0100)
committerPaul Donald <[email protected]>
Sat, 13 Dec 2025 12:15:15 +0000 (13:15 +0100)
Update two cfg parameters that have changed names/behaviour in recent
versions of odhcpd.

Signed-off-by: David Härdeman <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 530d96cb0eec10e653257e027d82f515d336267c..ed040fa7c1f661a9135c90098f2e576825c9dc72 100644 (file)
@@ -616,11 +616,11 @@ return view.extend({
                        _('Lease trigger'),
                        _('Path to a script to run each time the lease file changes.'));
 
-               o = s.taboption('general', form.Value, 'hostsfile',
+               o = s.taboption('general', form.Value, 'hostsdir',
                        _('Hosts file'),
-                       _('Path to store a hostsfile (IP address to hostname mapping) in. Used by e.g. <code>dnsmasq</code>.'));
+                       _('Directory to store hosts files (IP address to hostname mapping) in. Used by e.g. <code>dnsmasq</code>.'));
 
-               o = s.taboption('general', form.Value, 'piofolder',
+               o = s.taboption('general', form.Value, 'piodir',
                        _('PIO directory'),
                        _('Directory to store IPv6 prefix information files in (to detect and announce stale prefixes).'));